package com.zhai.boot.async.log;

import lombok.Data;

/**
 * @author Created by 翟凤玺
 * @package com.zhai.boot.async
 * @project-name zhai-boot
 * @description 业务日志 信息
 * @create-datetime 2019-9-19 16:09
 */
@Data
public class BizLogInfo {

    /**
     * 流水号
     */
    private String serialNum;

    /**
     * 时间
     */
    private String date;

    /**
     * 表
     */
    private String table;

    /**
     * 备注
     */
    private String note;

    /**
     * 信息
     */
    private Object info;

    public BizLogInfo(String table, Object info) {
        this.table = table;
        this.info = info;
    }

    public BizLogInfo(String serialNum, String table, Object info) {
        this.serialNum = serialNum;
        this.table = table;
        this.info = info;
    }

    public BizLogInfo(String serialNum, String table, String note, Object info) {
        this.serialNum = serialNum;
        this.table = table;
        this.note = note;
        this.info = info;
    }
}